package gang.org.springframework.framework.web.context.support;

import gang.org.springframework.framework.core.io.support.GangPathMatchingResourcePatternResolver;
import gang.org.springframework.framework.io.GangResource;
import gang.org.springframework.framework.io.GangResourceLoader;

import java.util.Set;

/**
 * @Author：gang.chen
 * @Date：2023/2/1 9:03
 */
public class GangServletContextResourcePatternResolver extends GangPathMatchingResourcePatternResolver {

    public GangServletContextResourcePatternResolver (GangResourceLoader resourceLoader){
        super(resourceLoader);
    }

    @Override
    protected Set<GangResource> doFindPathMatchingFileResources(GangResource rootDirResource, String subPattern) {

        if (false){
            return null;
        }else {
            return super.doFindPathMatchingFileResources(rootDirResource, subPattern);
        }
    }
}
